﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true" CodeFile="TransferList.aspx.cs" StylesheetTheme="Content" Inherits="Police_TransferList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="gvTrasferStat" runat="server" AutoGenerateColumns="False" Caption="<span>未接收士兵调动统计</span>"
        OnRowDataBound="gvTrasferStat_RowDataBound">
        <Columns>
            <asp:TemplateField ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Width="30px" HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="姓名">
                <ItemTemplate>
                    <%# GetSoldierName(Eval("SoldierID")) %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="FromUnit" HeaderText="调出单位" />
            <asp:TemplateField HeaderText="接收单位" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
                <HeaderStyle HorizontalAlign="Left" />
                <ItemStyle HorizontalAlign="Left" />
                <ItemTemplate>
                    <%# Eval("ToUnit")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="TransferDate" DataFormatString="{0:yy-MM-dd}" HeaderText="调动时间" />
            <asp:BoundField DataField="ReportDate" DataFormatString="{0:yy-MM-dd}" HeaderText="报到时间" />
       
            <asp:BoundField DataField="SetUserName" HeaderText="操作员" />
   
        </Columns>
        <HeaderStyle HorizontalAlign="Left" />
        <RowStyle HorizontalAlign="Left" />
    </asp:GridView>
</asp:Content>

